import time
from schedule import every, repeat, run_pending


# 装饰器：通过 @repeat() 装饰静态方法
@repeat(every().seconds)
def job():
    print("is working !!!")


while True:
    run_pending()
    time.sleep(1)
